xfi:period-instant

xs:dateTime=xfi:period-instant( $period as element(xbrli:period))

Last updated on 30-01-2008 at 00:00:00.

Return the value of an instant period.

Documentation

For the dates, XBRL uses a union of date and dateTime. When a date is specified, it should be expanded to a dateTime as specified in the XBRL specification.

XBRL 2.1 Section 4.7.2

OIM Status

Unsupported

Parameters

Name Type Details
period element(xbrli:period)

Output

Type: xs:dateTime

Returns the instant reported by the period if the period is an instant period. For an instant date without time, the dateTime returned is is the midnight at the end of the date reported, conceptually as if the time portion were "T24:00:00".

Errors

Code Details
xfie:PeriodIsNotInstant This error MUST be thrown if the period is not an instant.

Conformance suite

80129 xfi.period-instant testcase.xml [ download ]

Owners

Name Affiliation Email Start End
Herm Fischer UBMatrix / Mark V Systems fischer@markv.com 23-01-2008 at 00:00:00
Geoff Shuetrim Galexy geoff@galexy.net 29-01-2008 at 00:00:00

Revisions

Name On Details
Herm Fischer 23-01-2008 at 00:00:00 Created the test.
Geoff Shuetrim 30-01-2008 at 00:00:00 Adapted the syntax to the new format. Changed the documentation to indicate the nature of the function.
Geoff Shuetrim 30-01-2008 at 00:00:00 Fixed up the sequence type syntax in the function signature.
Geoff Shuetrim 31-01-2008 at 11:28:00 Converted links to XLink syntax suggested by Cliff Binstock.
Herm Fischer 26-03-2008 at 21:23:00 Clarified time portion of output when only date is reported, without time.